import Global from './global'


export default class Utils{

  public static debug(message: any, ...optionalParams: any[]):void{
    if(Global.isDebug){
      console.log(message,...optionalParams)
    }
  }

  public static log(message: any, ...optionalParams: any[]):void{
    console.log(message,...optionalParams)
  }

  public static error(message: any, ...optionalParams: any[]):void{
    console.error(message,...optionalParams)
  }

}
